//sorting homework //working with arrays //complete the sort function to use a bubble or selection sort //to sort the number in the list #include #include using namespace std; void setToRandomValues(int list[], int size) { for (int i = 0; i < size; i++) { list[i] = rand(); } } void displayList(int list[], int size) { for (int i = 0; i < size; i++) { cout << list[i] << endl; } } void sort(int list[], int size) { } void main() { srand(time(NULL)); int A[100]; setToRandomValues(A, 100); sort(A, 100); displayList(A, 100); }